import tkinter as tk

root = tk.Tk()
root.title("YOLO")
root.geometry("300x200+300+300")
root.iconbitmap("qianduan\logo.ico")

w = tk.Spinbox(root,from_=0,to=20,increment=2,width=15,bg='#98CD9B')
w.pack()

root.mainloop()